Skip to content

fix: auto header config heading generate func#2474

Merged
Koooooo-7 merged 2 commits into
developfrom
fix-autoheader
Jul 28, 2024
Merged

fix: auto header config heading generate func#2474
Koooooo-7 merged 2 commits into
developfrom
fix-autoheader

Conversation

@Koooooo-7

@Koooooo-7 Koooooo-7 commented Jul 25, 2024

Copy link
Copy Markdown
Member

Summary

For docsify autoHeader config, there is a separately call to renderer of marked.
Fix the autoHeader's heading marked adaption function and add test case for this.

Related issue, if any:

What kind of change does this PR introduce?

Bugfix

For any code change,

  • Related documentation has been updated, if needed
  • Related tests have been added or updated, if needed

Does this PR introduce a breaking change?

Yes
No

Tested in the following browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge

@vercel

vercel Bot commented Jul 25, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docsify-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2024 4:54pm

@Koooooo-7 Koooooo-7 requested review from a team, jhildenbiddle, sy-records and trusktr July 25, 2024 16:25
jhildenbiddle
jhildenbiddle previously approved these changes Jul 25, 2024

@jhildenbiddle jhildenbiddle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. Looks good with one minor nitpick (removing commented lines in sidebar.test.js).

Comment thread test/e2e/sidebar.test.js Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants